
<div class="layuimini-container">
  <form id="app-form" class="layui-form layuimini-form">
 
      <div class="layui-form-item">
        <label class="layui-form-label required">姓名</label>
        <div class="layui-input-block">
            <input type="text" name="name" class="layui-input"  disabled value="{$row.name|default=''}">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label required">手机号</label>
        <div class="layui-input-block">
            <input type="number" name="phone" class="layui-input" maxlength="11" placeholder="请输入手机号" value="{$row.phone|default=''}">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label required">年龄</label>
        <div class="layui-input-block">
            <input type="number" name="age" class="layui-input" maxlength="11" placeholder="请输入年龄" value="{$row.age|default=''}">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label required">身份证号</label>
        <div class="layui-input-block">
            <input type="text" name="card" class="layui-input" placeholder="请输入身份证号" value="{$row.card|default=''}">
        </div>
      </div>
     
      <div class="hr-line"></div>
      <div class="layui-form-item text-center">
          <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
          <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
      </div>
  </form>
</div>
<script type="text/javascript">
  layui.use(['form','upload'], function(){
      var form = layui.form;
      var upload = layui.upload;
      $ = layui.$;
      layer = layui.layer;
     

  });
</script>